<?php
// +---------------------------------------------------------------------+
// | OneBase    | [ WE CAN DO IT JUST THINK ]                            |
// +---------------------------------------------------------------------+
// | Licensed   | http://www.apache.org/licenses/LICENSE-2.0 )           |
// +---------------------------------------------------------------------+
// | Author     | Bigotry <3162875@qq.com>                               |
// +---------------------------------------------------------------------+
// | Repository | https://gitee.com/Bigotry/OneBase                      |
// +---------------------------------------------------------------------+

namespace app\api\controller;



/**
 * Gap控制器
 */
class OtcService extends ApiBase
{


    /**
     * 聊天记录
     */

    public function index()
    {

        return $this->apiReturn($this->logicOtcService->chat_log($this->param));
    }


    /**
     * 检测用户是否在线
     */

    public function check_customer()
    {
        return $this->apiReturn($this->logicOtcService->check_customer($this->param));
    }


    /**
     * 绑定用户id
     */

    public function blind_user()
    {
        return $this->apiReturn($this->logicOtcService->blind_user($this->param));
    }




    /**
     * 发送消息
     */

    public function chat_message()
    {
        return $this->apiReturn($this->logicOtcService->chat_message($this->param));
    }




}
